<?php
    require_once './app/model/camera_shot.php';

    class Camera extends Controller
    {
        public function home()
        {
            $datas = array(
                "list_imgs" => CameraShot::getCaptures(true, true, true, 10)
                );
            
            return $this->renderView("camera_home", $datas);
        }
        
        public function archive()
        {
            return "Hello word !";
        }
    }
?>
